package business.global.pk.tdk;

import business.global.room.base.AbsBaseRoom;
import business.global.room.base.RoomPlayBackImplAbstract;
import jsproto.c2s.cclass.BaseSendMsg;

public class TDKRoomPlayBackImpl extends RoomPlayBackImplAbstract {
    private static final String STDK_PosGetCard = "STDK_PosGetCard";    //监听的消息
    private final static String STDK_SetStart = "STDK_SetStart";
    private final static String STDK_PosOpCard = "STDK_PosOpCard";

    public TDKRoomPlayBackImpl(AbsBaseRoom room) {
        super(room);
    }
    @Override
    public boolean isOpCard(BaseSendMsg msg) {
        if (msg.getOpName().equals(STDK_PosGetCard) || msg.getOpName().equals(STDK_SetStart) || msg.getOpName().equals(STDK_PosOpCard)) {
            return true;
        }
        return false;
    }
}
